<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>首页</title>
  <style>
    *,
    *::after,
    *::before {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      min-height: 100vh;
    }

    :root:focus-within {
      scroll-behavior: smooth;
    }

    body {
      min-height: inherit;
    }

    .mask {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      /* 防止刚进来时，出现一小会黑屏 */
      opacity: 0;
      background-color: rgba(0, 0, 0, 0.6);
      transition: all 0.25s ease-in-out 0s;

      /* 让弹窗内容靠底 */
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }

    .mask>.maskContent {
      transform: translate3D(0, 100%, 0) !important;
    }

    .maskZoom {
      opacity: 0;
      z-index: -1;
      transform: scale(1.2, 1.2);
      pointer-events: none;
    }

    .maskShow {
      z-index: 10000;
      opacity: 1;
      transform: scale(1, 1);
      pointer-events: auto;
    }

    .maskZoom>.maskContent {
      transform: translate3D(0, 100%, 0) !important;
    }

    .maskContent {
      width: 100%;
      height: 50%;
      border-radius: 40rpx 40rpx 0 0;
      background-color: #fff;
      overflow: hidden;
      transition: all 0.25s linear 0s;
      transform: translate3D(0, 100%, 0);
    }

    .maskShow>.maskContent {
      transform: translate3D(0, 0, 0) !important;
    }
  </style>
</head>

<body>
  <div></div>
</body>
<script>
  "use strict"; {
  };
  /*
  <view class="mask" hover-stop-propagation @tap.stop="closeMask" :class='isMask?"maskShow":"maskZoom"'></view>
  */

  /* 遮罩弹窗 */
  /*
    <view class="mask" hover-stop-propagation @tap.stop="closeMask" :class='isMask?"maskShow":"maskZoom"'>
    <view class="maskContent" @touchmove.stop.prevent @tap.stop.prevent></view>
  </view>
  */
</script>

</html>